package com.example.sunmiv1.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class GetUserLabelInfo implements Serializable{

    /**
     * status : 1
     * msg : 數據獲取成功
     * data : {"list":[{"vip_label_id":"2","name":"土豪"},{"vip_label_id":"1","name":"11111111"},{"vip_label_id":"8","name":"邏輯"}],"total":"3"}
     */

    private int status;
    private String msg;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * list : [{"vip_label_id":"2","name":"土豪"},{"vip_label_id":"1","name":"11111111"},{"vip_label_id":"8","name":"邏輯"}]
         * total : 3
         */

        private String total;
        private List<ListBean> list;

        public String getTotal() {
            return total == null ? "" : total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable {
            /**
             * vip_label_id : 2
             * name : 土豪
             */

            private String vip_label_id;
            private String name;

            public String getVip_label_id() {
                return vip_label_id == null ? "" : vip_label_id;
            }

            public void setVip_label_id(String vip_label_id) {
                this.vip_label_id = vip_label_id;
            }

            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
